package com.cloudshop.service.user.service;

import com.cloudshop.service.user.dto.user.LoginParamsDto;
import com.cloudshop.service.user.dto.user.LoginResultDto;
import com.cloudshop.service.user.dto.user.RegistryParamsDto;
import com.cloudshop.service.user.entity.Users;
import java.util.List;

/**
 * UserService.
 *
 * @author 宫新程
 * @since 2019/4/1 14:08
 */
public interface UserService {

  List<Users> findAll();

  /** 用户登录. */
  LoginResultDto login(LoginParamsDto paramsDto);

  Boolean register(RegistryParamsDto paramsDto);

  Boolean sendMessageCode(RegistryParamsDto paramsDto);
}
